package com.robert.data_generator.aop;

import com.robert.data_generator.enums.DataRateEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * DataList: 数据集合
 *
 * @author zhaoshengtao
 * @date 2024/05/23
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface DataDict {

    String value() ;

    /**
     * 模式  轮询、随机
     */
    DataRateEnum rate() default DataRateEnum.RANDOM;
}
